Resource Configuration Method and Apparatus

ABSTRACT

Embodiments of the present invention provide a resource configuration method and an apparatus. User equipment includes a receiving module and a processing module, where the receiving module is configured to receive a broadcast message sent by a control node and including at least one first resource pool, where the control node is a base station serving the UE or a group head UE of a group to which the UE belongs; and the processing module is configured to receive a device to device D2D service or send a D2D service by using a resource in the at least one first resource pool.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.15/220,097, filed on Jul. 26, 2016, which is a continuation ofInternational Application No. PCT/CN2014/071488, filed on Jan. 26, 2014.All of the afore-mentioned patent applications are hereby incorporatedby reference in their entireties.

TECHNICAL FIELD

Embodiments of the present invention relate to the field ofcommunications technologies, and in particular, to a resourceconfiguration method and an apparatus.

BACKGROUND

A proximity service (ProSe) refers to a service manner in which userequipments (UE) that are near each other transfer information to eachother. The ProSe generally includes two processes: ProSe discovery andProSe communication. The ProSe discovery refers to a process in which anadjacent UE is identified, and the ProSe communication refers to aprocess in which UEs that are near each other perform communication. TheProSe communication may be specifically classified into unicastcommunication, multicast communication, and the like. A ProSe may bedescribed as a peer to peer (P2P) service, a device to device (D2D)service, or the like. In a ProSe system, there is a shorter distance anda shorter signal propagation path between a UE sending a ProSe signal(which includes a ProSe discovery signal and a ProSe communicationsignal) and a UE receiving the ProSe signal, and less signal fadingoccurs; therefore, communication between the UEs can be directlyperformed, that is, service data or a signal does not need to beforwarded by a base station. In this case, transmit power of a ProSesignal sent by the UE is generally less, which can therefore achieve anobjective of saving power and reducing interference.

In the ProSe system, the UE sending a ProSe signal needs to determine aresource used to send a D2D service, and the UE receiving a ProSe signalneeds to determine a resource used to receive a D2D service. In theprior art, a resource used to send a D2D service/receive a D2D serviceis selected from a pre-configured resource pool, and a UE can acquirethe pre-configured resource pool only when the UE is in a connectionstate. Some UEs may have no requirement to communicate with a basestation, and these UEs may enter an idle state. However, a UE in an idlestate still has a requirement of receiving or sending a D2D service. Howto configure a resource pool for a UE in an idle state is a problem tobe resolved.

SUMMARY

Embodiments of the present invention provide a resource configurationmethod and an apparatus, which can resolve a problem of configuration ofa resource pool for a UE in an idle state, so that the UE in the idlestate can acquire a sending resource pool or a receiving resource poolwithout connecting to a control node, thereby reducing power consumptionof the UE.

According to a first aspect, an embodiment of the present inventionprovides user equipment, including: a receiving module, configured toreceive a broadcast message sent by a control node and including atleast one first resource pool, where the control node is a base stationserving the user equipment UE or a group head UE of a group to which theUE belongs; and a processing module, configured to receive a device todevice D2D service or send a D2D service by using a resource in the atleast one first resource pool.

In a first possible implementation manner of the first aspect, the firstresource pool includes a sending resource pool and/or a receivingresource pool, and the receiving, by a processing module, a device todevice D2D service or sending a D2D service by using a resource in theat least one first resource pool includes: sending, by the processingmodule, the D2D service by using the sending resource pool included inthe at least one first resource pool, and receiving the D2D service byusing the receiving resource pool included in the at least one firstresource pool.

With reference to the first aspect or the first possible implementationmanner of the first aspect, in a second possible implementation mannerof the first aspect, the receiving module is further configured to:receive a dedicated message sent by the control node and including atleast one second sub-resource pool; and the processing module is furtherconfigured to receive a D2D service or send a D2D service by using aresource in the at least one first resource pool or the at least onesecond sub-resource pool.

With reference to the second possible implementation manner of the firstaspect, in a third possible implementation manner of the first aspect,the second resource pool includes a sending resource pool and/or areceiving resource pool, and the receiving, by the processing module, aD2D service or sending a D2D service by using a resource in the at leastone first resource pool or the at least one second sub-resource poolincludes: sending, by the processing module, the D2D service by usingthe sending resource pool included in the at least one first resourcepool or the at least one second sub-resource pool, and receiving the D2Dservice by using the receiving resource pool included in the at leastone first resource pool or the at least one second sub-resource pool.

With reference to the user equipment in any one of the first aspect tothe third possible implementation manner of the first aspect, in afourth possible implementation manner of the first aspect, the sendingresource pool includes a sending resource pool of at least one cell orat least one proximity service group, and the receiving resource poolincludes a receiving resource pool of at least one cell or at least oneproximity service group.

With reference to the fourth possible implementation manner of the firstaspect, in a fifth possible implementation manner of the first aspect,control nodes of different cells or different proximity service groupsneed to exchange sending resource pools and/or receiving resource poolswith each other.

With reference to the user equipment in any one of the first aspect tothe fifth possible implementation manner of the first aspect, in a sixthpossible implementation manner of the first aspect, a receiving resourcepool and a sending resource pool of a same cell or a same proximityservice group have an intersection set.

According to a second aspect, an embodiment of the present inventionprovides a control node, including: a sending module, configured to senda broadcast message including at least one first resource pool, so thatuser equipment UE that receives the broadcast message receives a deviceto device D2D service or sends a D2D service by using a resource in theat least one first resource pool, where the control node is a basestation serving the UE or a group head UE of a group to which the UEbelongs.

In a first possible implementation manner of the second aspect, thefirst resource pool includes a sending resource pool and/or a receivingresource pool, so that the UE sends the D2D service by using the sendingresource pool included in the at least one first resource pool andreceives the D2D service by using the receiving resource pool includedin the at least one first resource pool.

With reference to the second aspect or the first possible implementationmanner of the second aspect, in a second possible implementation mannerof the second aspect, the sending module is further configured to: senda dedicated message including at least one second sub-resource pool tothe UE, so that the UE receives a D2D service or sends a D2D service byusing a resource in the at least one first resource pool or the at leastone second sub-resource pool.

With reference to the second possible implementation manner of thesecond aspect, in a third possible implementation manner of the secondaspect, the second resource pool includes a sending resource pool and/ora receiving resource pool, so that the UE sends the D2D service by usingthe sending resource pool included in the at least one first resourcepool or the at least one second sub-resource pool and receives the D2Dservice by using the receiving resource pool included in the at leastone first resource pool or the at least one second sub-resource pool.

With reference to the control node in any one of the second aspect tothe third possible implementation manner of the second aspect, in afourth possible implementation manner of the second aspect, the sendingresource pool includes a sending resource pool of at least one cell orat least one proximity service group, and the receiving resource poolincludes a receiving resource pool of at least one cell or at least oneproximity service group.

With reference to the fourth possible implementation manner of thesecond aspect, in a fifth possible implementation manner of the secondaspect, control nodes of different cells or different proximity servicegroups need to exchange sending resource pools and/or receiving resourcepools with each other.

With reference to the control node in any one of the second aspect tothe fifth possible implementation manner of the second aspect, in asixth possible implementation manner of the second aspect, a receivingresource pool and a sending resource pool of a same cell or a sameproximity service group have an intersection set.

According to a third aspect, an embodiment of the present inventionprovides a resource configuration method, including: receiving, by userequipment UE, a broadcast message sent by a control node and includingat least one first resource pool, where the control node is a basestation serving the UE or a group head UE of a group to which the UEbelongs; and receiving, by the UE, a device to device D2D service orsending a D2D service by using a resource in the at least one firstresource pool.

In a first possible implementation manner of the third aspect, the firstresource pool includes a sending resource pool and/or a receivingresource pool, and the receiving, by the UE, a device to device D2Dservice or sending a D2D service by using a resource in the at least onefirst resource pool includes: sending, by the UE, the D2D service byusing the sending resource pool included in the at least one firstresource pool, and receiving, by the UE, the D2D service by using thereceiving resource pool included in the at least one first resourcepool.

With reference to the third aspect or the first possible implementationmanner of the third aspect, in a second possible implementation mannerof the third aspect, the method further includes: receiving, by the UE,a dedicated message sent by the control node and including at least onesecond sub-resource pool; and receiving, by the UE, a D2D service orsending a D2D service by using a resource in the at least one firstresource pool or the at least one second sub-resource pool.

With reference to the second possible implementation manner of the thirdaspect, in a third possible implementation manner of the third aspect,the second resource pool includes a sending resource pool and/or areceiving resource pool, and the receiving, by the UE, a D2D service orsending a D2D service by using a resource in the at least one firstresource pool or the at least one second sub-resource pool includes:sending, by the UE, the D2D service by using the sending resource poolincluded in the at least one first resource pool or the at least onesecond sub-resource pool, and receiving, by the UE, the D2D service byusing the receiving resource pool included in the at least one firstresource pool or the at least one second sub-resource pool.

With reference to the method in any one of the third aspect to the thirdpossible implementation manner of the third aspect, in a fourth possibleimplementation manner of the third aspect, the sending resource poolincludes a sending resource pool of at least one cell or at least oneproximity service group, and the receiving resource pool includes areceiving resource pool of at least one cell or at least one proximityservice group.

With reference to the fourth possible implementation manner of the thirdaspect, in a fifth possible implementation manner of the third aspect,control nodes of different cells or different proximity service groupsneed to exchange sending resource pools and/or receiving resource poolswith each other.

With reference to the method in any one of the third aspect to the fifthpossible implementation manner of the third aspect, in a sixth possibleimplementation manner of the third aspect, a receiving resource pool anda sending resource pool of a same cell or a same proximity service grouphave an intersection set.

According to a fourth aspect, an embodiment of the present inventionprovides a resource configuration method, including: sending, by acontrol node, a broadcast message including at least one first resourcepool, so that user equipment UE that receives the broadcast messagereceives a device to device D2D service or sends a D2D service by usinga resource in the at least one first resource pool, where the controlnode is a base station serving the UE or a group head UE of a group towhich the UE belongs.

In a first possible implementation manner of the fourth aspect, thefirst resource pool includes a sending resource pool and/or a receivingresource pool, so that the UE sends the D2D service by using the sendingresource pool included in the at least one first resource pool andreceives the D2D service by using the receiving resource pool includedin the at least one first resource pool.

With reference to the fourth aspect or the first possible implementationmanner of the fourth aspect, in a second possible implementation mannerof the fourth aspect, the method further includes: sending, by thecontrol node, a dedicated message including at least one secondsub-resource pool to the UE, so that the UE receives a D2D service orsends a D2D service by using a resource in the at least one firstresource pool or the at least one second sub-resource pool.

With reference to the second possible implementation manner of thefourth aspect, in a third possible implementation manner of the fourthaspect, the second resource pool includes a sending resource pool and/ora receiving resource pool, so that the UE sends the D2D service by usingthe sending resource pool included in the at least one first resourcepool or the at least one second sub-resource pool and receives the D2Dservice by using the receiving resource pool included in the at leastone first resource pool or the at least one second sub-resource pool.

With reference to the method in any one of the fourth aspect to thethird possible implementation manner of the fourth aspect, in a fourthpossible implementation manner of the fourth aspect, the sendingresource pool includes a sending resource pool of at least one cell orat least one proximity service group, and the receiving resource poolincludes a receiving resource pool of at least one cell or at least oneproximity service group.

With reference to the fourth possible implementation manner of thefourth aspect, in a fifth possible implementation manner of the fourthaspect, control nodes of different cells or different proximity servicegroups need to exchange sending resource pools and/or receiving resourcepools with each other.

With reference to the method in any one of the fourth aspect to thefifth possible implementation manner of the fourth aspect, in a sixthpossible implementation manner of the fourth aspect, a receivingresource pool and a sending resource pool of a same cell or a sameproximity service group have an intersection set.

According to the resource configuration method and the apparatusprovided in the embodiments of the present invention, a resource pool isconfigured for a UE by using a broadcast message of a control node, andthe UE receives a D2D service or sends a D2D service by using a resourcein the resource pool, which can resolve a problem of configuration of aresource pool for a UE in an idle state. In this way, the UE in the idlestate can acquire a sending resource pool or a receiving resource poolwithout connecting to the control node, which not only can reduce powerconsumption of the UE but also can reduce load on a to-be-connected basestation.

BRIEF DESCRIPTION OF THE DRAWINGS

To describe the technical solutions in the embodiments of the presentinvention more clearly, the following briefly introduces theaccompanying drawings required for describing the embodiments.Apparently, the accompanying drawings in the following description showsome embodiments of the present invention, and persons of ordinary skillin the art may still derive other drawings from these accompanyingdrawings without creative efforts.

FIG. 1 is a schematic structural diagram of Embodiment 1 of userequipment according to the present invention;

FIG. 2 is a schematic structural diagram of Embodiment 1 of a controlnode according to the present invention;

FIG. 3 is a schematic structural diagram of Embodiment 2 of userequipment according to the present invention;

FIG. 4 is a schematic structural diagram of Embodiment 2 of a controlnode according to the present invention;

FIG. 5 is a flowchart of Embodiment 1 of a resource configuration methodaccording to the present invention;

FIG. 6 is a flowchart of Embodiment 2 of a resource configuration methodaccording to the present invention; and

FIG. 7 is a flowchart of Embodiment 3 of a resource configuration methodaccording to the present invention.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

To make the objectives, technical solutions, and advantages of theembodiments of the present invention clearer, the following clearlydescribes the technical solutions in the embodiments of the presentinvention with reference to the accompanying drawings in the embodimentsof the present invention. Apparently, the described embodiments are somebut not all of the embodiments of the present invention. All otherembodiments obtained by persons of ordinary skill in the art based onthe embodiments of the present invention without creative efforts shallfall within the protection scope of the present invention.

FIG. 1 is a schematic structural diagram of Embodiment 1 of userequipment according to the present invention. As shown in FIG. 1, theuser equipment in this embodiment may include a receiving module ii anda processing module 12. The receiving module 11 is configured to receivea broadcast message sent by a control node and including at least onefirst resource pool, where the control node is a base station servingthe UE or a group head UE of a group to which the UE belongs. Theprocessing module 12 is configured to receive a D2D service or send aD2D service by using a resource in the at least one first resource pool.

Specifically, the control node configures, by using a broadcast message,at least one first resource pool for a UE served by the control node ora potential UE that is not yet connected to a system, where the firstresource pool includes a sending resource pool and/or a receivingresource pool. The receiving, by the processing module 12, a D2D serviceor sending a D2D service by using a resource in the at least one firstresource pool is specifically: sending, by the processing module 12, theD2D service by using the sending resource pool included in the at leastone first resource pool, and receiving the D2D service by using thereceiving resource pool included in the at least one first resourcepool.

According to the user equipment provided in this embodiment, a resourcepool is configured for the UE by using a broadcast message of a controlnode, and the UE receives a D2D service or sends a D2D service by usinga resource in the resource pool, which can resolve a problem ofconfiguration of a resource pool for a UE in an idle state (RRC-idle).In this way, the UE in the idle state can acquire a sending resourcepool or a receiving resource pool without connecting to the controlnode, which not only can reduce power consumption of the UE but also canreduce load on a to-be-connected base station.

Further, sending of a D2D service by the UE generally needs to becontrolled by the control node, and therefore, the UE sending the D2Dservice needs to be connected to the control node. The UE connected tothe control node may receive a UE-specific (UE-specific) message, forexample, radio resource control (RRC) signaling, physical downlinkcontrol channel (PDCCH) signaling, and enhanced physical downlinkcontrol channel (ePDCCH) signaling. After the UE in the idle state (forexample, RRC-idle) is connected to the control node and enter aconnected state (for example, RRC-connected), the control node mayfurther configure at least one resource pool for the UE by using aUE-specific message. In this case, the receiving module 11 is furtherconfigured to: receive a dedicated message sent by the control node andincluding at least one second sub-resource pool.

The processing module 12 is further configured to receive a D2D serviceor send a D2D service by using a resource in the at least one firstresource pool or the at least one second sub-resource pool.

The second resource pool includes a sending resource pool and/or areceiving resource pool, and the receiving, by the processing module 12,a D2D service or sending a D2D service by using a resource in the atleast one first resource pool or the at least one second sub-resourcepool is specifically: sending, by the processing module 12, the D2Dservice by using the sending resource pool included in the at least onefirst resource pool or the at least one second sub-resource pool, andreceiving the D2D service by using the receiving resource pool includedin the at least one first resource pool or the at least one secondsub-resource pool.

A UE that sends a D2D service can be scheduled and controlled moreaccurately and flexibly by using a UE-specific message to configure asending resource pool.

In the foregoing embodiment, further, a method used by the UE to sendthe D2D service by using a resource in a sending resource pool or usedby the UE to receive the D2D service by using a resource in a receivingresource pool may include at least one of the following:

1. The UE uses all resources in a sending resource pool or a receivingresource pool.

2. The control node allocates a resource in a sending resource pool or areceiving resource pool to the UE by using dedicated signaling.

3. The UE contends to use a resource in a sending resource pool or areceiving resource pool. Further, if the UE cannot obtain by means ofcontention a resource in a sending resource pool or a receiving resourcepool for a long time, another resource pool is allocated to the UE.Specifically, after the UE obtains a sending resource pool or areceiving resource pool, if the UE cannot obtain by means of contentiona resource in the obtained sending resource pool or receiving resourcepool within time T, the UE sends a contention failure indication messageor sends a resource pool reallocation request to the control node, andthe control node performs rescheduling to allocate another resource poolto the UE. Specifically, the reallocated resource pool is different froma former resource pool. The foregoing time T is pre-configured orpre-defined, or is configured by the control node.

In the foregoing embodiment, the sending resource pool includes asending resource pool of at least one cell or at least one proximityservice group, and the receiving resource pool includes a receivingresource pool of at least one cell or at least one proximity servicegroup. Configuring a sending resource pool of at least one cell or atleast one ProSe group can enable a D2D service sent by the UE to bereceived by a UE in another cell or ProSe group, and configuring areceiving resource pool of at least one cell or at least one ProSe groupcan enable the UE to receive a D2D service sent by a UE in another cellor ProSe group.

Further, control nodes of different cells or different proximity servicegroups need to exchange sending resource pools and/or receiving resourcepools with each other, so that the control nodes of different cells ordifferent ProSe groups determine at least one sending resource pooland/or at least one receiving resource pool that needs to be sent,thereby implementing coordination of resource pools among differentcells or different ProSe groups.

Further, a receiving resource pool and a sending resource pool of a samecell or a same proximity service group have an intersection set, so thatUEs in a same cell or ProSe group can send a D2D service to or receive aD2D service from each other.

For a relationship between a quantity of resources included in areceiving resource pool and a quantity of resources included in asending resource pool, where the receiving resource pool and the sendingresource pool are allocated to a same UE, the following two cases exist:

1. The quantity of resources included in the receiving resource pool isgreater than or equal to the quantity of resources included in thesending resource pool, where the receiving resource pool and the sendingresource pool are allocated to the same UE.

For example, there are three different ProSe groups, and each groupincludes several service-sending UEs and service-receiving UEs. Thethree ProSe groups have an overlap area, and there are severalservice-receiving UEs and service-sending UEs in the overlap area. Acontrol node allocates different sending resource pools to theservice-sending UEs in the different ProSe groups, thereby avoidingmutual interference among D2D services sent by the service-sending UEsin the different groups. If there are several service-receiving UEs inthe overlap area, these UEs may need to receive D2D services sent byservice-sending UEs in multiple ProSe groups. Therefore, a quantity ofreceiving resource pools configured for these service-receiving UEsneeds to be greater than a quantity of sending resource pools of theservice-sending UEs.

2. The quantity of resources included in the receiving resource pool isless than or equal to the quantity of resources included in the sendingresource pool, where the receiving resource pool and the sendingresource pool are allocated to the same UE.

For example, the control node allocates different receiving resourcepools to the service-receiving UEs in the different ProSe groups. Ifthere are several service-sending UEs in the overlap area, these UEs mayneed to send D2D services to service-receiving UEs in multiple ProSegroups, and therefore, a quantity of sending resource pools that need tobe configured for these service-sending UEs needs to be greater than aquantity of receiving resource pools of the service-receiving UEs. Inthis case, fewer receiving resource pools are configured for theservice-receiving UEs, thereby reducing receiving complexity of theservice-receiving UEs.

FIG. 2 is a schematic structural diagram of Embodiment 1 of a controlnode according to the present invention. The control node may be a basestation serving a UE or a group head UE of a group to which a UEbelongs. As shown in FIG. 2, the control node in this embodiment mayinclude a sending module 22. The sending module 22 is configured to senda broadcast message including at least one first resource pool, so thata UE that receives the broadcast message receives a device to device D2Dservice or sends a D2D service by using a resource in the at least onefirst resource pool, where the control node is a base station servingthe UE or a group head UE of a group to which the UE belongs.

The first resource pool includes a sending resource pool and/or areceiving resource pool, so that the UE sends the D2D service by usingthe sending resource pool included in the at least one first resourcepool and receives the D2D service by using the receiving resource poolincluded in the at least one first resource pool.

According to the control node provided in this embodiment, a resourcepool is configured for a UE by using a broadcast message of the controlnode, and the UE receives a D2D service or sends a D2D service by usinga resource in the resource pool, which can resolve a problem ofconfiguration of a resource pool for a UE in an idle state (RRC-idle).In this way, the UE in the idle state can acquire a sending resourcepool or a receiving resource pool without connecting to a control node,which not only can reduce power consumption of the UE but also canreduce load on a to-be-connected base station.

Further, the sending module 22 is further configured to: send adedicated message including at least one second sub-resource pool to theUE, where the dedicated message is, for example, RRC signaling, PDCCHsignaling, and ePDCCH signaling, so that the UE receives a D2D serviceor sends a D2D service by using a resource in the at least one firstresource pool or the at least one second sub-resource pool.

The second resource pool includes a sending resource pool and/or areceiving resource pool, so that the UE sends the D2D service by usingthe sending resource pool included in the at least one first resourcepool or the at least one second sub-resource pool and receives the D2Dservice by using the receiving resource pool included in the at leastone first resource pool or the at least one second sub-resource pool.

A UE that sends a D2D service can be scheduled and controlled moreaccurately and flexibly by using a UE-specific message to configure asending resource pool.

In the foregoing embodiment, further, a method used by the UE to sendthe D2D service by using a resource in a sending resource pool or usedby the UE to receive the D2D service by using a resource in a receivingresource pool may include at least one of the following:

1. The UE uses all resources in a sending resource pool or a receivingresource pool.

2. The control node allocates a resource in a sending resource pool or areceiving resource pool to the UE by using dedicated signaling.

3. The UE contends to use a resource in a sending resource pool or areceiving resource pool. Further, if the UE cannot obtain by means ofcontention a resource in a sending resource pool or a receiving resourcepool for a long time, another resource pool is allocated to the UE.Specifically, after the UE obtains a sending resource pool or areceiving resource pool, if the UE cannot obtain by means of contentiona resource in the obtained sending resource pool or receiving resourcepool within time T, the UE sends a contention failure indication messageor sends a resource pool reallocation request to the control node, andthe control node performs rescheduling to allocate another resource poolto the UE. Specifically, the reallocated resource pool is different froma former resource pool. The foregoing time T is pre-configured orpre-defined, or is configured by the control node.

In the foregoing embodiment, the sending resource pool includes asending resource pool of at least one cell or at least one proximityservice group, and the receiving resource pool includes a receivingresource pool of at least one cell or at least one proximity servicegroup. Configuring a sending resource pool of at least one cell or atleast one ProSe group can enable a D2D service sent by the UE to bereceived by a UE in another cell or ProSe group, and configuring areceiving resource pool of at least one cell or at least one ProSe groupcan enable the UE to receive a D2D service sent by a UE in another cellor ProSe group.

Further, control nodes of different cells or different proximity servicegroups need to exchange sending resource pools and/or receiving resourcepools with each other, so that the control nodes of different cells ordifferent ProSe groups determine at least one sending resource pooland/or at least one receiving resource pool that needs to be sent,thereby implementing coordination of resource pools among differentcells or different ProSe groups.

Further, a receiving resource pool and a sending resource pool of a samecell or a same proximity service group have an intersection set, so thatUEs in a same cell or ProSe group can send a D2D service to or receive aD2D service from each other.

For a relationship between a quantity of resources included in areceiving resource pool and a quantity of resources included in asending resource pool, where the receiving resource pool and the sendingresource pool are allocated to a same UE, the following two cases exist:

1. The quantity of resources included in the receiving resource pool isgreater than or equal to the quantity of resources included in thesending resource pool, where the receiving resource pool and the sendingresource pool are allocated to the same UE.

For example, there are three different ProSe groups, and each groupincludes several service-sending UEs and service-receiving UEs. Thethree ProSe groups have an overlap area, and there are severalservice-receiving UEs and service-sending UEs in the overlap area. Acontrol node allocates different sending resource pools to theservice-sending UEs in the different ProSe groups, thereby avoidingmutual interference among D2D services sent by the service-sending UEsin the different groups. If there are several service-receiving UEs inthe overlap area, these UEs may need to receive D2D services sent byservice-sending UEs in multiple ProSe groups. Therefore, a quantity ofreceiving resource pools configured for these service-receiving UEsneeds to be greater than a quantity of sending resource pools of theservice-sending UEs.

2. The quantity of resources included in the receiving resource pool isless than or equal to the quantity of resources included in the sendingresource pool, where the receiving resource pool and the sendingresource pool are allocated to the same UE.

For example, the control node allocates different receiving resourcepools to the service-receiving UEs in the different ProSe groups. Ifthere are several service-sending UEs in the overlap area, these UEs mayneed to send D2D services to service-receiving UEs in multiple ProSegroups, and therefore, a quantity of sending resource pools that need tobe configured for these service-sending UEs needs to be greater than aquantity of receiving resource pools of the service-receiving UEs. Inthis case, fewer receiving resource pools are configured for theservice-receiving UEs, thereby reducing receiving complexity of theservice-receiving UEs.

FIG. 3 is a schematic structural diagram of Embodiment 2 of userequipment according to the present invention. As shown in FIG. 3, theuser equipment in this embodiment may include a receiver 31 and aprocessor 32. The receiver 31 is configured to receive a broadcastmessage sent by a control node and including at least one first resourcepool, where the control node is a base station serving the userequipment UE or a group head UE of a group to which the UE belongs. Theprocessor 32 is configured to receive a D2D service or send a D2Dservice by using a resource in the at least one first resource pool.

Specifically, the control node configures, by using a broadcast message,at least one first resource pool for a UE served by the control node ora potential UE that is not yet connected to a system, where the firstresource pool includes a sending resource pool and/or a receivingresource pool. The receiving, by the processor 32, a D2D service orsending a D2D service by using a resource in the at least one firstresource pool is specifically: sending, by the processor 32, the D2Dservice by using the sending resource pool included in the at least onefirst resource pool, and receiving the D2D service by using thereceiving resource pool included in the at least one first resourcepool.

According to the user equipment provided in this embodiment, a resourcepool is configured for the UE by using a broadcast message of a controlnode, and the UE receives a D2D service or sends a D2D service by usinga resource in the resource pool, which can resolve a problem ofconfiguration of a resource pool for a UE in an idle state (RRC-idle).In this way, the UE in the idle state can acquire a sending resourcepool or a receiving resource pool without connecting to the controlnode, which not only can reduce power consumption of the UE but also canreduce load on a to-be-connected base station.

Further, sending of a D2D service by the UE generally needs to becontrolled by the control node, and therefore, the UE sending the D2Dservice needs to be connected to the control node. The UE connected tothe control node may receive a UE-specific (UE-specific) message, forexample, RRC signaling, PDCCH signaling, and ePDCCH signaling. After theUE in the idle state (for example, RRC-idle) is connected to the controlnode and enter a connected state (for example, RRC-connected), thecontrol node may further configure at least one resource pool for the UEby using a UE-specific message. In this case, the receiver 31 is furtherconfigured to: receive a dedicated message sent by the control node andincluding at least one second sub-resource pool.

The processor 32 is further configured to receive a D2D service or senda D2D service by using a resource in the at least one first resourcepool or the at least one second sub-resource pool.

The second resource pool includes a sending resource pool and/or areceiving resource pool, and the receiving, by the processor 32, a D2Dservice or sending a D2D service by using a resource in the at least onefirst resource pool or the at least one second sub-resource pool isspecifically: sending, by the processor 32, the D2D service by using thesending resource pool included in the at least one first resource poolor the at least one second sub-resource pool, and receiving the D2Dservice by using the receiving resource pool included in the at leastone first resource pool or the at least one second sub-resource pool.

A UE that sends a D2D service can be scheduled and controlled moreaccurately and flexibly by using a UE-specific message to configure asending resource pool.

In the foregoing embodiment, further, a method used by the UE to sendthe D2D service by using a resource in a sending resource pool or usedby the UE to receive the D2D service by using a resource in a receivingresource pool may include at least one of the following:

1. The UE uses all resources in a sending resource pool or a receivingresource pool.

2. The control node allocates a resource in a sending resource pool or areceiving resource pool to the UE by using dedicated signaling.

3. The UE contends to use a resource in a sending resource pool or areceiving resource pool. Further, if the UE cannot obtain by means ofcontention a resource in a sending resource pool or a receiving resourcepool for a long time, another resource pool is allocated to the UE.Specifically, after the UE obtains a sending resource pool or areceiving resource pool, if the UE cannot obtain by means of contentiona resource in the obtained sending resource pool or receiving resourcepool within time T, the UE sends a contention failure indication messageor sends a resource pool reallocation request to the control node, andthe control node performs rescheduling to allocate another resource poolto the UE. Specifically, the reallocated resource pool is different froma former resource pool. The foregoing time T is pre-configured orpre-defined, or is configured by the control node.

In the foregoing embodiment, the sending resource pool includes asending resource pool of at least one cell or at least one proximityservice group, and the receiving resource pool includes a receivingresource pool of at least one cell or at least one proximity servicegroup. Configuring a sending resource pool of at least one cell or atleast one ProSe group can enable a D2D service sent by the UE to bereceived by a UE in another cell or ProSe group, and configuring areceiving resource pool of at least one cell or at least one ProSe groupcan enable the UE to receive a D2D service sent by a UE in another cellor ProSe group.

Further, control nodes of different cells or different proximity servicegroups need to exchange sending resource pools and/or receiving resourcepools with each other, so that the control nodes of different cells ordifferent ProSe groups determine at least one sending resource pooland/or at least one receiving resource pool that needs to be sent,thereby implementing coordination of resource pools among differentcells or different ProSe groups.

Further, a receiving resource pool and a sending resource pool of a samecell or a same proximity service group have an intersection set, so thatUEs in a same cell or ProSe group can send a D2D service to or receive aD2D service from each other.

For a relationship between a quantity of resources included in areceiving resource pool and a quantity of resources included in asending resource pool, where the receiving resource pool and the sendingresource pool are allocated to a same UE, the following two cases exist:

1. The quantity of resources included in the receiving resource pool isgreater than or equal to the quantity of resources included in thesending resource pool, where the receiving resource pool and the sendingresource pool are allocated to the same UE.

For example, there are three different ProSe groups, and each groupincludes several service-sending UEs and service-receiving UEs. Thethree ProSe groups have an overlap area, and there are severalservice-receiving UEs and service-sending UEs in the overlap area. Acontrol node allocates different sending resource pools to theservice-sending UEs in the different ProSe groups, thereby avoidingmutual interference among D2D services sent by the service-sending UEsin the different groups. If there are several service-receiving UEs inthe overlap area, these UEs may need to receive D2D services sent byservice-sending UEs in multiple ProSe groups. Therefore, a quantity ofreceiving resource pools configured for these service-receiving UEsneeds to be greater than a quantity of sending resource pools of theservice-sending UEs.

2. The quantity of resources included in the receiving resource pool isless than or equal to the quantity of resources included in the sendingresource pool, where the receiving resource pool and the sendingresource pool are allocated to the same UE.

For example, the control node allocates different receiving resourcepools to the service-receiving UEs in the different ProSe groups. Ifthere are several service-sending UEs in the overlap area, these UEs mayneed to send D2D services to service-receiving UEs in multiple ProSegroups, and therefore, a quantity of sending resource pools that need tobe configured for these service-sending UEs needs to be greater than aquantity of receiving resource pools of the service-receiving UEs. Inthis case, fewer receiving resource pools are configured for theservice-receiving UEs, thereby reducing receiving complexity of theservice-receiving UEs.

FIG. 4 is a schematic structural diagram of Embodiment 2 of a controlnode according to the present invention. The control node may be a basestation serving a UE or a group head UE of a group to which a UEbelongs. As shown in FIG. 4, the control node in this embodiment mayinclude a transmitter 42. The transmitter 42 is configured to send abroadcast message including at least one first resource pool, so that aUE that receives the broadcast message receives a device to device D2Dservice or sends a D2D service by using a resource in the at least onefirst resource pool, where the control node is a base station servingthe UE or a group head UE of a group to which the UE belongs.

The first resource pool includes a sending resource pool and/or areceiving resource pool, so that the UE sends the D2D service by usingthe sending resource pool included in the at least one first resourcepool and receives the D2D service by using the receiving resource poolincluded in the at least one first resource pool.

According to the control node provided in this embodiment, a resourcepool is configured for a UE by using a broadcast message of the controlnode, and the UE receives a D2D service or sends a D2D service by usinga resource in the resource pool, which can resolve a problem ofconfiguration of a resource pool for a UE in an idle state (RRC-idle).In this way, the UE in the idle state can acquire a sending resourcepool or a receiving resource pool without connecting to the controlnode, which not only can reduce power consumption of the UE but also canreduce load on a to-be-connected base station.

Further, the transmitter 42 is further configured to: send a dedicatedmessage including at least one second sub-resource pool to the UE, wherethe dedicated message is, for example, RRC signaling, PDCCH signaling,and ePDCCH signaling, so that the UE receives a D2D service or sends aD2D service by using a resource in the at least one first resource poolor the at least one second sub-resource pool.

The second resource pool includes a sending resource pool and/or areceiving resource pool, so that the UE sends the D2D service by usingthe sending resource pool included in the at least one first resourcepool or the at least one second sub-resource pool and receives the D2Dservice by using the receiving resource pool included in the at leastone first resource pool or the at least one second sub-resource pool.

A UE that sends a D2D service can be scheduled and controlled moreaccurately and flexibly by using a UE-specific message to configure asending resource pool.

In the foregoing embodiment, further, a method used by the UE to sendthe D2D service by using a resource in a sending resource pool or usedby the UE to receive the D2D service by using a resource in a receivingresource pool may include at least one of the following:

1. The UE uses all resources in a sending resource pool or a receivingresource pool.

2. The control node allocates a resource in a sending resource pool or areceiving resource pool to the UE by using dedicated signaling.

3. The UE contends to use a resource in a sending resource pool or areceiving resource pool. Further, if the UE cannot obtain by means ofcontention a resource in a sending resource pool or a receiving resourcepool for a long time, another resource pool is allocated to the UE.Specifically, after the UE obtains a sending resource pool or areceiving resource pool, if the UE cannot obtain by means of contentiona resource in the obtained sending resource pool or receiving resourcepool within time T, the UE sends a contention failure indication messageor sends a resource pool reallocation request to the control node, andthe control node performs rescheduling to allocate another resource poolto the UE. Specifically, the reallocated resource pool is different froma former resource pool. The foregoing time T is pre-configured orpre-defined, or is configured by the control node.

In the foregoing embodiment, the sending resource pool includes asending resource pool of at least one cell or at least one proximityservice group, and the receiving resource pool includes a receivingresource pool of at least one cell or at least one proximity servicegroup. Configuring a sending resource pool of at least one cell or atleast one ProSe group can enable a D2D service sent by the UE to bereceived by a UE in another cell or ProSe group, and configuring areceiving resource pool of at least one cell or at least one ProSe groupcan enable the UE to receive a D2D service sent by a UE in another cellor ProSe group.

Further, control nodes of different cells or different proximity servicegroups need to exchange sending resource pools and/or receiving resourcepools with each other, so that the control nodes of different cells ordifferent ProSe groups determine at least one sending resource pooland/or at least one receiving resource pool that needs to be sent,thereby implementing coordination of resource pools among differentcells or different ProSe groups.

Further, a receiving resource pool and a sending resource pool of a samecell or a same proximity service group have an intersection set, so thatUEs in a same cell or ProSe group can send a D2D service to or receive aD2D service from each other.

For a relationship between a quantity of resources included in areceiving resource pool and a quantity of resources included in asending resource pool, where the receiving resource pool and the sendingresource pool are allocated to a same UE, the following two cases exist:

1. The quantity of resources included in the receiving resource pool isgreater than or equal to the quantity of resources included in thesending resource pool, where the receiving resource pool and the sendingresource pool are allocated to the same UE.

For example, there are three different ProSe groups, and each groupincludes several service-sending UEs and service-receiving UEs. Thethree ProSe groups have an overlap area, and there are severalservice-receiving UEs and service-sending UEs in the overlap area. Acontrol node allocates different sending resource pools to theservice-sending UEs in the different ProSe groups, thereby avoidingmutual interference among D2D services sent by the service-sending UEsin the different groups. If there are several service-receiving UEs inthe overlap area, these UEs may need to receive D2D services sent byservice-sending UEs in multiple ProSe groups. Therefore, a quantity ofreceiving resource pools configured for these service-receiving UEsneeds to be greater than a quantity of sending resource pools of theservice-sending UEs.

2. The quantity of resources included in the receiving resource pool isless than or equal to the quantity of resources included in the sendingresource pool, where the receiving resource pool and the sendingresource pool are allocated to the same UE.

For example, the control node allocates different receiving resourcepools to the service-receiving UEs in the different ProSe groups. Ifthere are several service-sending UEs in the overlap area, these UEs mayneed to send D2D services to service-receiving UEs in multiple ProSegroups, and therefore, a quantity of sending resource pools that need tobe configured for these service-sending UEs needs to be greater than aquantity of receiving resource pools of the service-receiving UEs. Inthis case, fewer receiving resource pools are configured for theservice-receiving UEs, thereby reducing receiving complexity of theservice-receiving UEs.

FIG. 5 is a flowchart of Embodiment 1 of a resource configuration methodaccording to the present invention. An example in which this embodimentis executed by a UE is used for description. As shown in FIG. 5, themethod in this embodiment may include:

S101: A UE receives a broadcast message sent by a control node andincluding at least one first resource pool, where the control node is abase station serving the UE or a group head UE of a group to which theUE belongs.

S102: The UE receives a D2D service or sends a D2D service by using aresource in the at least one first resource pool.

Specifically, the control node configures, by using a broadcast message,at least one first resource pool for a UE served by the control node ora potential UE that is not yet connected to a system, where the firstresource pool includes a sending resource pool and/or a receivingresource pool, and S102 is specifically: sending, by the UE, the D2Dservice by using the sending resource pool included in the at least onefirst resource pool, and receiving the D2D service by using thereceiving resource pool included in the at least one first resourcepool.

According to the resource configuration method provided in thisembodiment, a resource pool is configured for a UE by using a broadcastmessage of a control node, and the UE receives a D2D service or sends aD2D service by using a resource in the resource pool, which can resolvea problem of configuration of a resource pool for a UE in an idle state(RRC-idle). In this way, the UE in the idle state can acquire a sendingresource pool or a receiving resource pool without connecting to thecontrol node, which not only can reduce power consumption of the UE butalso can reduce load on a to-be-connected base station.

Further, sending of a D2D service by the UE generally needs to becontrolled by the control node, and therefore, the UE sending the D2Dservice needs to be connected to the control node. The UE connected tothe control node may receive a UE-specific (UE-specific) message, forexample, RRC signaling, PDCCH signaling, and ePDCCH signaling. After theUE in the idle state (for example, RRC-idle) is connected to the controlnode and enter a connected state (for example, RRC-connected), thecontrol node may further configure at least one resource pool for the UEby using a UE-specific message. In this case, the method in thisembodiment further includes:

S103: The UE receives a dedicated message sent by the control node andincluding at least one second sub-resource pool.

S104: The UE receives a D2D service or sends a D2D service by using aresource in the at least one first resource pool or the at least onesecond sub-resource pool.

The second resource pool also includes a sending resource pool and/or areceiving resource pool, and S104 is specifically: sending, by the UE,the D2D service by using the sending resource pool included in the atleast one first resource pool or the at least one second sub-resourcepool, and receiving, by the UE, the D2D service by using the receivingresource pool included in the at least one first resource pool or the atleast one second sub-resource pool.

A UE that sends a D2D service can be scheduled and controlled moreaccurately and flexibly by using a UE-specific message to configure asending resource pool.

In the foregoing embodiment, further, a method used by the UE to sendthe D2D service by using a resource in a sending resource pool or usedby the UE to receive the D2D service by using a resource in a receivingresource pool may include at least one of the following:

1. The UE uses all resources in a sending resource pool or a receivingresource pool.

2. The control node allocates a resource in a sending resource pool or areceiving resource pool to the UE by using dedicated signaling.

3. The UE contends to use a resource in a sending resource pool or areceiving resource pool. Further, if the UE cannot obtain by means ofcontention a resource in a sending resource pool or a receiving resourcepool for a long time, another resource pool is allocated to the UE.Specifically, after the UE obtains a sending resource pool or areceiving resource pool, if the UE cannot obtain by means of contentiona resource in the obtained sending resource pool or receiving resourcepool within time T, the UE sends a contention failure indication messageor sends a resource pool reallocation request to the control node, andthe control node performs rescheduling to allocate another resource poolto the UE. Specifically, the reallocated resource pool is different froma former resource pool. The foregoing time T is pre-configured orpre-defined, or is configured by the control node.

In the foregoing embodiment, the sending resource pool includes asending resource pool of at least one cell or at least one proximityservice group, and the receiving resource pool includes a receivingresource pool of at least one cell or at least one proximity servicegroup. Configuring a sending resource pool of at least one cell or atleast one ProSe group can enable a D2D service sent by the UE to bereceived by a UE in another cell or ProSe group, and configuring areceiving resource pool of at least one cell or at least one ProSe groupcan enable the UE to receive a D2D service sent by a UE in another cellor ProSe group.

Further, control nodes of different cells or different proximity servicegroups need to exchange sending resource pools and/or receiving resourcepools with each other, so that the control nodes of different cells ordifferent ProSe groups determine at least one sending resource pooland/or at least one receiving resource pool that needs to be sent,thereby implementing coordination of resource pools among differentcells or different ProSe groups.

Further, a receiving resource pool and a sending resource pool of a samecell or a same proximity service group have an intersection set, so thatUEs in a same cell or ProSe group can send a D2D service to or receive aD2D service from each other.

For a relationship between a quantity of resources included in areceiving resource pool and a quantity of resources included in asending resource pool, where the receiving resource pool and the sendingresource pool are allocated to a same UE, the following two cases exist:

1. The quantity of resources included in the receiving resource pool isgreater than or equal to the quantity of resources included in thesending resource pool, where the receiving resource pool and the sendingresource pool are allocated to the same UE.

For example, there are three different ProSe groups, and each groupincludes several service-sending UEs and service-receiving UEs. Thethree ProSe groups have an overlap area, and there are severalservice-receiving UEs and service-sending UEs in the overlap area. Acontrol node allocates different sending resource pools to theservice-sending UEs in the different ProSe groups, thereby avoidingmutual interference among D2D services sent by the service-sending UEsin the different groups. If there are several service-receiving UEs inthe overlap area, these UEs may need to receive D2D services sent byservice-sending UEs in multiple ProSe groups. Therefore, a quantity ofreceiving resource pools configured for these service-receiving UEsneeds to be greater than a quantity of sending resource pools of theservice-sending UEs.

2. The quantity of resources included in the receiving resource pool isless than or equal to the quantity of resources included in the sendingresource pool, where the receiving resource pool and the sendingresource pool are allocated to the same UE.

For example, the control node allocates different receiving resourcepools to the service-receiving UEs in the different ProSe groups. Ifthere are several service-sending UEs in the overlap area, these UEs mayneed to send D2D services to service-receiving UEs in multiple ProSegroups, and therefore, a quantity of sending resource pools that need tobe configured for these service-sending UEs needs to be greater than aquantity of receiving resource pools of the service-receiving UEs. Inthis case, fewer receiving resource pools are configured for theservice-receiving UEs, thereby reducing receiving complexity of theservice-receiving UEs.

FIG. 6 is a flowchart of Embodiment 2 of a resource configuration methodaccording to the present invention. An example in which this embodimentis executed by a control node is used for description. As shown in FIG.6, the method in this embodiment may include:

S201: A control node sends a broadcast message including at least onefirst resource pool, so that a UE that receives the broadcast messagereceives a device to device D2D service or sends a D2D service by usinga resource in the at least one first resource pool, where the controlnode is a base station serving the UE or a group head UE of a group towhich the UE belongs.

Specifically, the control node configures, by using a broadcast message,at least one first resource pool for a UE served by the control node ora potential UE that is not yet connected to a system. The first resourcepool includes a sending resource pool and/or a receiving resource pool,so that the UE sends a D2D service by using the sending resource poolincluded in the at least one first resource pool and receives a D2Dservice by using the receiving resource pool included in the at leastone first resource pool.

According to the resource configuration method provided in thisembodiment, a resource pool is configured for a UE by using a broadcastmessage of a control node, and the UE receives a D2D service or sends aD2D service by using a resource in the resource pool, which can resolvea problem of configuration of a resource pool for a UE in an idle state(RRC-idle). In this way, the UE in the idle state can acquire a sendingresource pool or a receiving resource pool without connecting to thecontrol node, which not only can reduce power consumption of the UE butalso can reduce load on a to-be-connected base station.

Further, a behavior of sending a D2D service by the UE generally needsto be controlled by the control node, and therefore, the UE sending theD2D service needs to be connected to the control node. The UE connectedto the control node may receive a UE-specific message, for example, RRCsignaling, PDCCH signaling, and ePDCCH signaling. After the UE in theidle state is connected to the control node and enter a connected state,the control node may further configure at least one resource pool forthe UE by using a UE-specific message. In this case, the method in thisembodiment further includes:

S202: The control node sends a dedicated message including at least onesecond sub-resource pool to the UE, so that the UE receives a D2Dservice or sends a D2D service by using a resource in the at least onefirst resource pool or the at least one second sub-resource pool.

The second resource pool includes a sending resource pool and/or areceiving resource pool, so that the UE sends the D2D service by usingthe sending resource pool included in the at least one first resourcepool or the at least one second sub-resource pool and receives the D2Dservice by using the receiving resource pool included in the at leastone first resource pool or the at least one second sub-resource pool.

A UE that sends a D2D service can be scheduled and controlled moreaccurately and flexibly by using a UE-specific message to configure asending resource pool.

In the foregoing embodiment, further, a method used by the UE to sendthe D2D service by using a resource in a sending resource pool or usedby the UE to receive the D2D service by using a resource in a receivingresource pool may include at least one of the following:

1. The UE uses all resources in a sending resource pool or a receivingresource pool.

2. The control node allocates a resource in a sending resource pool or areceiving resource pool to the UE by using dedicated signaling.

3. The UE contends to use a resource in a sending resource pool or areceiving resource pool. Further, if the UE cannot obtain by means ofcontention a resource in a sending resource pool or a receiving resourcepool for a long time, another resource pool is allocated to the UE.Specifically, after the UE obtains a sending resource pool or areceiving resource pool, if the UE cannot obtain by means of contentiona resource in the obtained sending resource pool or receiving resourcepool within time T, the UE sends a contention failure indication messageor sends a resource pool reallocation request to the control node, andthe control node performs rescheduling to allocate another resource poolto the UE. Specifically, the reallocated resource pool is different froma former resource pool. The foregoing time T is pre-configured orpre-defined, or is configured by the control node.

In the foregoing embodiment, the sending resource pool includes asending resource pool of at least one cell or at least one proximityservice group, and the receiving resource pool includes a receivingresource pool of at least one cell or at least one proximity servicegroup. Configuring a sending resource pool of at least one cell or atleast one ProSe group can enable a D2D service sent by the UE to bereceived by a UE in another cell or ProSe group, and configuring areceiving resource pool of at least one cell or at least one ProSe groupcan enable the UE to receive a D2D service sent by a UE in another cellor ProSe group.

Further, control nodes of different cells or different proximity servicegroups need to exchange sending resource pools and/or receiving resourcepools with each other, so that the control nodes of different cells ordifferent ProSe groups determine at least one sending resource pooland/or at least one receiving resource pool that needs to be sent,thereby implementing coordination of resource pools among differentcells or different ProSe groups.

Further, a receiving resource pool and a sending resource pool of a samecell or a same proximity service group have an intersection set, so thatUEs in a same cell or ProSe group can send a D2D service to or receive aD2D service from each other.

For a relationship between a quantity of resources included in areceiving resource pool and a quantity of resources included in asending resource pool, where the receiving resource pool and the sendingresource pool are allocated to a same UE, the following two cases exist:

1. The quantity of resources included in the receiving resource pool isgreater than or equal to the quantity of resources included in thesending resource pool, where the receiving resource pool and the sendingresource pool are allocated to the same UE.

For example, there are three different ProSe groups, and each groupincludes several service-sending UEs and service-receiving UEs. Thethree ProSe groups have an overlap area, and there are severalservice-receiving UEs and service-sending UEs in the overlap area. Acontrol node allocates different sending resource pools to theservice-sending UEs in the different ProSe groups, thereby avoidingmutual interference among D2D services sent by the service-sending UEsin the different groups. If there are several service-receiving UEs inthe overlap area, these UEs may need to receive D2D services sent byservice-sending UEs in multiple ProSe groups. Therefore, a quantity ofreceiving resource pools configured for these service-receiving UEsneeds to be greater than a quantity of sending resource pools of theservice-sending UEs.

2. The quantity of resources included in the receiving resource pool isless than or equal to the quantity of resources included in the sendingresource pool, where the receiving resource pool and the sendingresource pool are allocated to the same UE.

For example, the control node allocates different receiving resourcepools to the service-receiving UEs in different ProSe groups. If thereare several service-sending UEs in the overlap area, these UEs may needto send D2D services to service-receiving UEs in multiple ProSe groups,and therefore, a quantity of sending resource pools that need to beconfigured for these service-sending UEs needs to be greater than aquantity of receiving resource pools of the service-receiving UEs. Inthis case, fewer receiving resource pools are configured for theservice-receiving UEs, thereby reducing receiving complexity of theservice-receiving UEs.

The following describes the technical solutions in the foregoing methodembodiments in detail by using a specific embodiment.

FIG. 7 is a flowchart of Embodiment 3 of a resource configuration methodaccording to the present invention. As shown in FIG. 7, the method inthis embodiment may include:

S301: A control node sends a broadcast message including at least onefirst resource pool, where the control node is a base station serving aUE or a group head UE of a group to which a UE belongs.

The first resource pool includes a sending resource pool and/or areceiving resource pool. The UE sends a D2D service by using the sendingresource pool included in the at least one first resource pool andreceives a D2D service by using the receiving resource pool included inthe at least one first resource pool.

S302: The UE receives the broadcast message sent by the control node andincluding the at least one first resource pool.

S303: The UE receives a D2D service or sends a D2D service by using aresource in the at least one first resource pool.

Further, sending of a D2D service by the UE generally needs to becontrolled by the control node, and therefore, the UE sending the D2Dservice needs to be connected to the control node. The UE connected tothe control node may receive a UE-specific message, for example, RRCsignaling, PDCCH signaling, and ePDCCH signaling. After a UE in an idlestate is connected to the control node and enter a connected state, thecontrol node may further configure at least one resource pool for the UEby using a UE-specific message. In this case, the method in thisembodiment further includes:

S304: The control node sends a dedicated message including at least onesecond sub-resource pool to the UE.

S305: The UE receives the dedicated message sent by the control node andincluding the at least one second sub-resource pool.

S306: The UE receives a D2D service or sends a D2D service by using aresource in the at least one first resource pool or the at least onesecond sub-resource pool.

The second resource pool also includes a sending resource pool and/or areceiving resource pool. The UE sends the D2D service by using thesending resource pool included in the at least one first resource poolor the at least one second sub-resource pool, and the UE receives theD2D service by using the receiving resource pool included in the atleast one first resource pool or the at least one second sub-resourcepool.

In the several embodiments provided in the present invention, it shouldbe understood that the disclosed apparatus and method may be implementedin other manners. For example, the described apparatus embodiment ismerely exemplary. For example, the unit division is merely logicalfunction division and may be other division in actual implementation.For example, a plurality of units or components may be combined orintegrated into another system, or some features may be ignored or notperformed. In addition, the displayed or discussed mutual couplings ordirect couplings or communication connections may be implemented byusing some interfaces. The indirect couplings or communicationconnections between the apparatuses or units may be implemented inelectronic, mechanical, or other forms.

The units described as separate parts may or may not be physicallyseparate, and parts displayed as units may or may not be physical units,may be located in one position, or may be distributed on a plurality ofnetwork units. Some or all of the units may be selected according toactual needs to achieve the objectives of the solutions of theembodiments.

In addition, functional units in the embodiments of the presentinvention may be integrated into one processing unit, or each of theunits may exist alone physically, or two or more units are integratedinto one unit. The integrated unit may be implemented in a form ofhardware, or may be implemented in a form of hardware in addition to asoftware functional unit.

When the foregoing integrated unit is implemented in a form of asoftware functional unit, the integrated unit may be stored in acomputer-readable storage medium. The software functional unit is storedin a storage medium and includes several instructions for instructing acomputer device (which may be a personal computer, a server, or anetwork device) or a processor (processor) to perform some of the stepsof the methods described in the embodiments of the present invention.The foregoing storage medium includes: any medium that can store programcode, such as a USB flash drive, a removable hard disk, a read-onlymemory (ROM), a random access memory (RAM), a magnetic disk, or anoptical disc.

It may be clearly understood by persons skilled in the art that, for thepurpose of convenient and brief description, division of the foregoingfunctional modules is taken as an example for illustration. In actualapplication, the foregoing functions can be allocated to differentfunctional modules and implemented according to a requirement, that is,an inner structure of an apparatus is divided into different functionalmodules to implement all or some of the functions described above. For adetailed working process of the foregoing apparatus, reference may bemade to a corresponding process in the foregoing method embodiments, anddetails are not described herein again.

Finally, it should be noted that the foregoing embodiments are merelyintended for describing the technical solutions of the presentinvention, but not for limiting the present invention. Although thepresent invention is described in detail with reference to the foregoingembodiments, persons of ordinary skill in the art should understand thatthey may still make modifications to the technical solutions describedin the foregoing embodiments or make equivalent replacements to some orall technical features thereof, without departing from the scope of thetechnical solutions of the embodiments of the present invention

What is claimed is:
 1. User equipment, comprising: a receiver,configured to receive a broadcast message sent by a control node andcomprising at least one first resource pool, wherein the control node isa base station serving the user equipment UE or a group head UE of agroup to which the UE belongs; and a processor, configured to receive adevice to device D2D service or send a D2D service by using a resourcein the at least one first resource pool.
 2. The user equipment accordingto claim 1, wherein the first resource pool comprises a sending resourcepool and/or a receiving resource pool, and the receiving, by theprocessor, a device to device D2D service or sending a D2D service byusing a resource in the at least one first resource pool comprises:sending, by the processor, the D2D service by using the sending resourcepool comprised in the at least one first resource pool, and receivingthe D2D service by using the receiving resource pool comprised in the atleast one first resource pool.
 3. The user equipment according to claim1, wherein the receiver is further configured to: receive a dedicatedmessage sent by the control node and comprising at least one secondsub-resource pool; and the processor is further configured to receive aD2D service or send a D2D service by using a resource in the at leastone first resource pool or the at least one second sub-resource pool. 4.The user equipment according to claim 3, wherein the second resourcepool comprises a sending resource pool and/or a receiving resource pool,and the receiving, by the processor, a D2D service or sending a D2Dservice by using a resource in the at least one first resource pool orthe at least one second sub-resource pool comprises: sending, by theprocessor, the D2D service by using the sending resource pool comprisedin the at least one first resource pool or the at least one secondsub-resource pool, and receiving the D2D service by using the receivingresource pool comprised in the at least one first resource pool or theat least one second sub-resource pool.
 5. The user equipment accordingto claim 2, wherein the sending resource pool comprises a sendingresource pool of at least one cell or at least one proximity servicegroup, and the receiving resource pool comprises a receiving resourcepool of at least one cell or at least one proximity service group.
 6. Acontrol node, comprising: a transmitter, configured to send a broadcastmessage comprising at least one first resource pool, so that userequipment UE that receives the broadcast message receives a device todevice D2D service or sends a D2D service by using a resource in the atleast one first resource pool, wherein the control node is a basestation serving the UE or a group head UE of a group to which the UEbelongs.
 7. The control node according to claim 6, wherein the firstresource pool comprises a sending resource pool and/or a receivingresource pool, so that the UE sends the D2D service by using the sendingresource pool comprised in the at least one first resource pool andreceives the D2D service by using the receiving resource pool comprisedin the at least one first resource pool.
 8. The control node accordingto claim 6, wherein the transmitter is further configured to: send adedicated message comprising at least one second sub-resource pool tothe UE, so that the UE receives a D2D service or sends a D2D service byusing a resource in the at least one first resource pool or the at leastone second sub-resource pool.
 9. The control node according to claim 8,wherein the second resource pool comprises a sending resource pooland/or a receiving resource pool, so that the UE sends the D2D serviceby using the sending resource pool comprised in the at least one firstresource pool or the at least one second sub-resource pool and receivesthe D2D service by using the receiving resource pool comprised in the atleast one first resource pool or the at least one second sub-resourcepool.
 10. The control node according to claim 7, wherein the sendingresource pool comprises a sending resource pool of at least one cell orat least one proximity service group, and the receiving resource poolcomprises a receiving resource pool of at least one cell or at least oneproximity service group.
 11. A resource configuration method,comprising: receiving, by user equipment UE, a broadcast message sent bya control node and comprising at least one first resource pool, whereinthe control node is a base station serving the UE or a group head UE ofa group to which the UE belongs; and receiving, by the UE, a device todevice D2D service or sending a D2D service by using a resource in theat least one first resource pool.
 12. The method according to claim 11,wherein the first resource pool comprises a sending resource pool and/ora receiving resource pool, and the receiving, by the UE, a device todevice D2D service or sending a D2D service by using a resource in theat least one first resource pool comprises: sending, by the UE, the D2Dservice by using the sending resource pool comprised in the at least onefirst resource pool, and receiving, by the UE, the D2D service by usingthe receiving resource pool comprised in the at least one first resourcepool.
 13. The method according to claim 11, further comprising:receiving, by the UE, a dedicated message sent by the control node andcomprising at least one second sub-resource pool; and receiving, by theUE, a D2D service or sending a D2D service by using a resource in the atleast one first resource pool or the at least one second sub-resourcepool.
 14. The method according to claim 13, wherein the second resourcepool comprises a sending resource pool and/or a receiving resource pool,and the receiving, by the UE, a D2D service or sending a D2D service byusing a resource in the at least one first resource pool or the at leastone second sub-resource pool comprises: sending, by the UE, the D2Dservice by using the sending resource pool comprised in the at least onefirst resource pool or the at least one second sub-resource pool, andreceiving, by the UE, the D2D service by using the receiving resourcepool comprised in the at least one first resource pool or the at leastone second sub-resource pool.
 15. The method according to claim 12,wherein the sending resource pool comprises a sending resource pool ofat least one cell or at least one proximity service group, and thereceiving resource pool comprises a receiving resource pool of at leastone cell or at least one proximity service group.
 16. A resourceconfiguration method, comprising: sending, by a control node, abroadcast message comprising at least one first resource pool, so thatuser equipment UE that receives the broadcast message receives a deviceto device D2D service or sends a D2D service by using a resource in theat least one first resource pool, wherein the control node is a basestation serving the UE or a group head UE of a group to which the UEbelongs.
 17. The method according to claim 16, wherein the firstresource pool comprises a sending resource pool and/or a receivingresource pool, so that the UE sends the D2D service by using the sendingresource pool comprised in the at least one first resource pool andreceives the D2D service by using the receiving resource pool comprisedin the at least one first resource pool.
 18. The method according toclaim 16, further comprising: sending, by the control node, a dedicatedmessage comprising at least one second sub-resource pool to the UE, sothat the UE receives a D2D service or sends a D2D service by using aresource in the at least one first resource pool or the at least onesecond sub-resource pool.
 19. The method according to claim 18, whereinthe second resource pool comprises a sending resource pool and/or areceiving resource pool, so that the UE sends the D2D service by usingthe sending resource pool comprised in the at least one first resourcepool or the at least one second sub-resource pool and receives the D2Dservice by using the receiving resource pool comprised in the at leastone first resource pool or the at least one second sub-resource pool.20. The method according to claim 19, wherein the sending resource poolcomprises a sending resource pool of at least one cell or at least oneproximity service group, and the receiving resource pool comprises areceiving resource pool of at least one cell or at least one proximityservice group.